package com.ziyun.pop.modules.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ziyun.pop.modules.order.dao.ErpUserAccessoryDao;
import com.ziyun.pop.modules.order.entity.UserAccessoryEntity;
import com.ziyun.pop.modules.order.service.UserAccessoryService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("userAccessoryService")
public class UserAccessoryServiceImpl extends ServiceImpl<ErpUserAccessoryDao, UserAccessoryEntity> implements UserAccessoryService {

    @Override
    public List<UserAccessoryEntity> getAccessoryByItemId(Integer originalItemId) {
        return this.baseMapper.getAccessoryByItemId(originalItemId);
    }
}
